package cn.superchart.module.dev.gencode.service;

import cn.superchart.common.base.BaseService;
import cn.superchart.module.dev.gencode.param.*;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface ScGenTableService extends BaseService {

    String add(ScGenTableAddParam scGenTableAddParam);


    void edit(ScGenTableEditParam scGenTableEditParam);

    ScGenTableDetailParam detail(String id);


    Page<ScGenTableDetailParam> page(ScGenTablePageParam scGenTablePageParam);

    List<ScTableDetail> dbTables(String tableSchema);

    List<ScTableColumnDetail> dbTableColumns(String tableSchema,String tableName);

    void createCode(String id);
}
